/**
 * Created by JackTao on 2017/8/23.
 */

//远程服务器地址
//window.path = "http://116.62.134.2:80/c";

//本地调试地址
window.path = "http://localhost:8082/c";



window.tools = {
    get_url_value:function (name) {
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
        var r = window.location.search.substr(1).match(reg);
        if (r != null) return unescape(r[2]);
        return null;
    }

}